<div class="row">
	<div class="twelve columns">
		<h1>Update Details</h1>

		<?php
		$this->pageTitle = Yii::app()->name . ' - Update Details';
		CHtml::$afterRequiredLabel = '';

		$form = $this->beginWidget('CActiveForm', array(
			'errorMessageCssClass' => 'error',
			'htmlOptions' => array(
				'class' => 'nice'
			)
			));

		echo $form->labelEx($model, 'name');
		echo $form->textField($model, 'name', array(
			'class' => 'input-text',
			'placeholder' => 'Name',
			'maxlength' => 512,
		));
		echo $form->error($model, 'name');

		echo $form->labelEx($model, 'description');
		echo $form->textArea($model, 'description', array(
			'class' => 'input-text',
			'placeholder' => 'Description (Optional)',
			'maxlength' => 512,
			'rows' => 5
		));
		echo $form->error($model, 'description');

		echo CHtml::submitButton('Update Details', array(
			'class' => 'nice blue radius button'
		));

		$this->endWidget();
		?>
	</div>
</div>